const router = require('koa-router')()
const controller = require('../controller/register')

router
    .get('/register', controller.getRegister)//渲染注册页面
    .post('/register', controller.postRegister)//注册api

module.exports = router